package com.leyou.domain.db1entity;

import com.alibaba.fastjson.annotation.JSONField;

import java.io.Serializable;
import java.util.Date;

public class Condition implements Serializable {

    private static final long serialVersionUID = 5428691141889686328L;

    private String conditionkey;

    @JSONField(name = "condition_type")
    private String conditiontype;

    private Integer points;

    private String activitykey;

    private Integer quoation;

    private Date begintime;

    private Date endtime;

    private Integer maxtry;

    public String getConditionkey() {
        return conditionkey;
    }

    public void setConditionkey(String conditionkey) {
        this.conditionkey = conditionkey;
    }

    public String getConditiontype() {
        return conditiontype;
    }

    public void setConditiontype(String conditiontype) {
        this.conditiontype = conditiontype;
    }

    public Integer getPoints() {
        return points;
    }

    public void setPoints(Integer points) {
        this.points = points;
    }

    public String getActivitykey() {
        return activitykey;
    }

    public void setActivitykey(String activitykey) {
        this.activitykey = activitykey;
    }

    public Integer getQuoation() {
        return quoation;
    }

    public void setQuoation(Integer quoation) {
        this.quoation = quoation;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }


    public Integer getMaxtry() {
        return maxtry;
    }

    public void setMaxtry(Integer maxtry) {
        this.maxtry = maxtry;
    }

    @Override
    public String toString() {
        return "Condition{" +
                "conditionkey='" + conditionkey + '\'' +
                ", conditiontype='" + conditiontype + '\'' +
                ", points=" + points +
                ", activitykey='" + activitykey + '\'' +
                ", quoation=" + quoation +
                '}';
    }
}
